package com.ml.mall.bean.req.company;

import com.ml.mall.entity.company.SysCompanyRegistAcc;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/17
 *   @version        :1.0
**/
@ApiModel(value = "公司注册")
@Data
public class CompanyRegisterDto {
    @ApiModelProperty(value = "公司名称")
    @NotBlank(message = "公司名称不能为空")
    private String companyName;

    @ApiModelProperty(value = "邮件地址")
    @NotBlank(message = "邮件不能为空")
    private String emailAddress;

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phoneNo;

    @ApiModelProperty(value = "合作商邀请码")
    private String registartionNo;

    @ApiModelProperty(value = "industry id")
    @NotNull(message = "industry id cannot null")
    private Long industryId;

    @ApiModelProperty(value = "公司类型;3：卖家，4：买家")
    @NotNull(message = "公司类型不能为空")
    private Integer companyType;

    @ApiModelProperty(value = "商业描述")
//    @NotBlank(message = "商业描述不能为空")
    private String background;

    @ApiModelProperty(value = "感兴趣的产业id")
//    @NotEmpty(message = "感兴趣的产业不能为空")
    private List<Long> interestedIndustry;

    //增加注册的账号
    @ApiModelProperty(value = "注册账号")
    @NotNull(message = "注册账号不能为空")
    private SysCompanyRegistAcc sysCompanyRegistAcc;

    //增加验证码
    @ApiModelProperty(value = "图片验证码")
    @NotBlank(message = "图片验证码不能为空")
    private String  captchaCode;

    @ApiModelProperty(value = "公司规模")
    private Integer companyLevel;

    @ApiModelProperty(value = "马来西亚营业执照号码")
    private String syarikatCode;

    @ApiModelProperty(value = "业务类型")
    private String typesBusiness;

    @ApiModelProperty(value = "备注")
    private String remark;
}
